package com.cooper.scraper;

public interface PublishRunner {

	public abstract RunnerStatusListener getStatusListener();

	public abstract void setStatusListener(RunnerStatusListener statusListener);

	public abstract boolean subscribed(RunnerSubscribe subscribe);

	public abstract void subscribe(RunnerSubscribe subscribe);

	public abstract int getTaskCount(RunnerSubscribe subscribe);

	public abstract void cancelSubscribe(RunnerSubscribe subscribe);

	public abstract void cancelSubscribe(RunnerSubscribe subscribe,
			boolean cancelDownload);

	public abstract void cancel(String key);

	public abstract void cancel();

	public abstract void cancel(RunnerSubscribe subscribe);

}